home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0833.dms / q0833.adf / CalenderMacros / calendar.readme < prev    next >
Text File  |  1997-04-10  |  3KB  |  68 lines

  1.    Calendar macro for FinalWriter (SoftWood)
  2.    Written by Andrew McCardie
  3.    amethyst@gulf.net
  4.    January 30th, 1995
  5.  
  6.    This macro can create three different types of calendars: Portrait,
  7.    double-portrait, and landscape.  
  8.    
  9.    Two versions are included.  The first (calendar.fw2) is suitable for FW 2.x
  10.    only.  The second (calendar.fw3) works only under FW3.  Both now get
  11.    user input through commands wholly internal to FW.  Therefore, the ADOS
  12.    specific versions are gone for good (hopefully).
  13.  
  14.    SoftWood has changed the way text blocks are handled between FinalWriter 2
  15.    and FinalWriter 3.  This has had the effect of slowing down the macro
  16.    considerably because each text-block must be redrawn before its width
  17.    is updated.  Newer (Jan. 3, 1995) and later have corrected this problem,
  18.    but I've left the code alone for backwards compatibility.
  19.  
  20.    Also, all versions of FW3 have started measuring text blocks from the
  21.    font's baseline instead of its top, which is why the FW2 macro doesn't
  22.    work properly under FW3.
  23.  
  24. -----------------------------------------------------------------------------
  25.  
  26.    Portrait produces a standard 8.5x11 page with a single calendar.
  27.    Double portrait produces a standard 8.5x11 page with two calendars.
  28.    Landscape produces a standard 11x8.5 page with a single calendar.
  29.  
  30.    While it should handle leap-years, this feature has not been
  31.    exhaustively tested.  The fonts and margins are designed to be
  32.    user-customizeable.  Certain default values (in inches) have been
  33.    hardcoded into the variables 'top_margin', 'bottom_margin', and 
  34.    'side_margin' to produce the largest calendars on my DeskJet.  You
  35.    can change these if you need a smaller calendar or if the calendars
  36.    print incorrectly on your setup.
  37.  
  38.    If you change the default fonts, you may have to experiment with their
  39.    sizes and widths to get an appropriate look.
  40.  
  41.    If you find any bugs, let me know and I'll try to rectify them.
  42.  
  43.    Disclaimer: I take no responsibility for problems that may result from using
  44.                this macro.
  45.  
  46.  
  47.    History: Unnumbered first release:   Did not realize that 'requestchoice' is
  48.                                         found only in OS3.x and above, so 2.x
  49.                                         users were out of luck.
  50.  
  51.                                  1.0:   Created a second macro using 'RequestText'
  52.                                         which is built in to FinalWriter instead
  53.                                         of 'requestchoice'
  54.  
  55.                                  1.1:   Got a brain transplant and realized that
  56.                                         FinalWriter DOES have a way to get user
  57.                                         input from a requester.
  58.  
  59.                                         Implemented FW's built-in requester,
  60.                                         eliminating ADOS specific versions
  61.                                         of the macro.
  62.  
  63.                                         Discovered that FW3's handling of text
  64.                                         blocks (among other things) is different
  65.                                         from FW2.x, so had to implement version
  66.                                         specific macros.
  67.  
  68.